package com.zzh.interview.annotation;

import org.apache.poi.ss.formula.functions.T;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 检测是否为热键并且是否进行缓存
 * @author <a href="https://gitee.com/zzhpalus">zzhKing</a>
 * @from <a href="https://gitee.com/zzhpalus">致力于学习</a>
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface HotKeyCache {

    /**
     * 缓存的key前缀
     * @return
     */
    String keyPrefix() default "";


}

